Add SANS Top 25 to CodeQL query mapping document#60
Conversation
…document Co-authored-by: WritingPanda <5935647+WritingPanda@users.noreply.github.com>
|
Make sure that all of the CodeQL CWEs are in the document. Here is the list: https://codeql.github.com/codeql-query-help/full-cwe/ |
I want to clarify the request: The SANS2025-CodeQL.md document is specifically focused on mapping the SANS Top 25 CWEs to their corresponding CodeQL queries (25 CWEs total). Are you asking me to:
The document currently covers all 25 SANS CWEs with their available CodeQL queries. If you'd like me to expand it to include all CodeQL-covered CWEs (similar to the comprehensive list on the CodeQL site), that would be a significant expansion beyond the SANS Top 25 scope. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Created comprehensive mapping of SANS Top 25 Most Dangerous Software Weaknesses to CodeQL queries, mirroring the existing OWASP2025-CodeQL.md format.
Changes
code-scanning-guides/SANS2025-CodeQL.mdCoverage Highlights
Strong coverage (8 languages): XSS (CWE-79), SQL Injection (CWE-89), Command Injection (CWE-78), Path Traversal (CWE-22)
C/C++ memory safety: Use After Free (CWE-416), Out-of-bounds Write (CWE-787), Buffer Errors (CWE-119), Out-of-bounds Read (CWE-125)
Known gaps requiring manual review: Race Conditions (CWE-362), Privilege Management (CWE-269), Default Permissions (CWE-276), Incorrect Authorization (CWE-863)
Structure
Follows OWASP document pattern:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repositories/advanced-security/advanced-security-material/copilot_internal/embeddings_index/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.